package chat.user;

public class RequestRemoveGroup extends Request {

	private String ANSWER = null;
	private boolean allow = false;
	private String remove_group_name;

	public RequestRemoveGroup(String group) {

		this.remove_group_name = group;
	}

	public RequestRemoveGroup(boolean allow, String group) {

		this.allow = allow;
		this.remove_group_name = group;
	}

	public String getGroup() {
		return remove_group_name;
	}

	public boolean isAllowed() {

		if (this.allow) {
			return true;
		} else {
			return false;
		}
	}
}
